package com.mm.dss.demo.tools;

public class BottomClick {

    private static long lastClickTime = 0;

    public static boolean Click() {
        long time = System.currentTimeMillis();
        if (time - lastClickTime < 2000) {//判断系统时间差是否小于点击间隔时间
            return false;
        }
        lastClickTime = time;
        return true;
    }
}
